var listVue = new Vue({
	el: "body",
	data: {
      productType:[]
	},
	created: function() {
		init();
		_this=this;
        selectType(_this)
	},
	methods: {

	}
})

function selectType(a) {
	var type = getUrlPro("type")
	var query = new AV.Query('Product');
	query.equalTo("type", type);
	query.find().then(function(products) {
		a.productType = products;
	}).catch(function(error) {
		console.log(JSON.stringify(error));
	});
}